tags:
  - scan
summary: 扫描TCP端口
description: 扫描TCP端口
operationId: "{{ uniqueOpId() }}"
requestBody:
  content:
    application/json:
      schema:
        type: object
        properties:
          token:
            type: string
            description: 访问令牌
          addr:
            type: string
            description: 目标地址
          from:
            type: integer
            description: 开始端口
          to:
            type: integer
            description: 结束端口
responses:
  "200":
    description: 成功
    content:
      application/json:
        schema:
          type: array
          items:
            type: integer
  "500":
    description: 失败
    content:
      application/json:
        schema:
          $ref: "@schemas/errInfo.yml.njk"